﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TankServer.Core;
using TankServer.Logic;

namespace TankServer
{
    class Program
    {
        static void Main(string[] args)
        {
            DataMgr dataMgr = new DataMgr();

            ServNet servNet = new ServNet();
            servNet.Start("127.0.0.1",1234);
            servNet.proto = new ProtocolBytes();
            Scene scene = new Scene();
            RoomMgr roomMgr = new RoomMgr();

            while (true)
            {
                string str = Console.ReadLine();
                switch(str)
                {
                    case "quit":
                        servNet.Close();
                        break;
                    case "print":
                        servNet.Print();
                        break;
                }
            }
        }
    }
}
